package com.linked.goods.goodsbase.bean.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author :dbq
 * @date : 2023/1/28 10:56
 * @description : desc
 */
@Data
@TableName("goods_goods_images")
public class GoodsImagesPO {

    @TableId(value = "goods_images_id", type = IdType.ASSIGN_UUID)
    private String goodsImagesId;
    @TableField("goods_id")
    private String goodsId;
    @TableField("images_name")
    private String imagesName;
    @TableField("image_type")
    private Integer imageType;
    @TableField("image_addr")
    private String imageAddr;
    @TableField("image_remarks")
    private String imageRemarks;
    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @TableField("data_status")
    private Integer dataStatus;

}
